package org.jeu.cassesbriques;


public class Balle {

	private int posX, posY, vitX, vitY;
	public static final int DIAMETRE=30;
	
	public Balle(int x, int y, int vitX, int vitY)
	{
		this.posX = x;
		this.posY = y;
		this.vitX = vitX;
		this.vitY = vitY;
	}	
	public void setPosX(int posX) 
	{
		this.posX = posX;
	}
	public int getPosX() 
	{
		return posX;
	}
	public void setPosY(int posY) 
	{
		this.posY = posY;
	}
	public int getPosY() 
	{
		return posY;
	}
	public void inverseVitX() 
	{
		vitX = -vitX;
	}
	public int getVitX() 
	{
		return vitX;
	}
	public void inverseVitY() 
	{
		vitY = -vitY;
	}
	public int getVitY() 
	{
		return vitY;
	}
	public void setVitY(int v)
	{
		vitY=v;
	}
	public void setVitX(int v)
	{
		vitX=v;
	}
}
